package com.cms.mapper;

import java.util.List;

import com.cms.domain.Item;


public interface ItemDao {

	public Item getById(Long id);
	
	public List<Item> getByName(Long id_sbj, String name);
	
	public List<Item> getList(Long id_sbj);
	
	public List<Item> getListForPage(Long id_sbj, int startIndex, int size);

	public void add(Item entity);

	public void update(Item entity);

	public void delete(Item entity);

	public Integer getRowCount(Long id_sbj);

}